{if !empty($msgs)}
<ul class="layui-timeline" style="margin-top: 30px; margin-left: 30px;">
    {foreach $msgs as $msg}
    <li class="layui-timeline-item">
        <i class="layui-icon layui-timeline-axis layui-icon-reply-fill"></i>
        <div class="layui-timeline-content layui-text">
            <h3 class="layui-timeline-title">{$msg.send_time}&nbsp;{$msg.title}</h3>
            <p>{$msg.content}</p>
        </div>
    </li>
    {/foreach}
</ul>
{/if}